//
//  TableViewCell.m
//  Image圆角优化
//
//  Created by 宜必鑫科技 on 2017/11/110.
//  Copyright © 2017年 宜必鑫科技. All rights reserved.
//

#import "TableViewCell.h"

@interface TableViewCell ()

@property (nonatomic, strong) UITextField *headerImageView;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *nameLabel;
@property (nonatomic, strong) UITextField *playImage;
@property (nonatomic, strong) UIImageView *hahah;
@end

@implementation TableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        
        _headerImageView = [[UITextField alloc]initWithFrame:CGRectMake(10, 10, 20, 20)];
        _headerImageView.layer.cornerRadius = 10;
        _headerImageView.layer.masksToBounds = YES;
        _headerImageView.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:_headerImageView];
        
        UIButton *image = [UIButton buttonWithType:UIButtonTypeCustom];
        image.frame = CGRectMake(40, 10, 20, 20);
        image.layer.cornerRadius = 10;
        image.layer.masksToBounds = YES;
        image.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image];
        
        UITextField *image2 = [[UITextField alloc]initWithFrame:CGRectMake(70, 10, 20, 20)];
        image2.layer.cornerRadius = 10;
        image2.layer.masksToBounds = YES;
        image2.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image2];
        
        UITextField *image3 = [[UITextField alloc]initWithFrame:CGRectMake(100, 10, 20, 20)];
        image3.layer.cornerRadius = 10;
        image3.layer.masksToBounds = YES;
        image3.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image3];
        
        UITextView *image4 = [[UITextView alloc]initWithFrame:CGRectMake(130, 10, 20, 20)];
        image4.layer.cornerRadius = 10;
        image4.layer.masksToBounds = YES;
        image4.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image4];
        
        UIView *image5 = [[UIView alloc]initWithFrame:CGRectMake(160, 10, 20, 20)];
        image5.layer.cornerRadius = 10;
        image5.layer.masksToBounds = YES;
        image5.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image5];
        
        UITextField *image6 = [[UITextField alloc]initWithFrame:CGRectMake(190, 10, 20, 20)];
        image6.layer.cornerRadius = 10;
        image6.layer.masksToBounds = YES;
        image6.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image6];
        
        UITextField *image7 = [[UITextField alloc]initWithFrame:CGRectMake(220, 10, 20, 20)];
        image7.layer.cornerRadius = 10;
        image7.layer.masksToBounds = YES;
        image7.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image7];
        
        UITextField *image8 = [[UITextField alloc]initWithFrame:CGRectMake(250, 10, 20, 20)];
        image8.layer.cornerRadius = 10;
        image8.layer.masksToBounds = YES;
        image8.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image8];
        
        UITextField *image9 = [[UITextField alloc]initWithFrame:CGRectMake(280, 10, 20, 20)];
        image9.layer.cornerRadius = 10;
        image9.layer.masksToBounds = YES;
        image9.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image9];
        
        UITextField *image10 = [[UITextField alloc]initWithFrame:CGRectMake(310, 10, 20, 20)];
        image10.layer.cornerRadius = 10;
        image10.layer.masksToBounds = YES;
        image10.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image10];
        
        UITextField *image11 = [[UITextField alloc]initWithFrame:CGRectMake(340, 10, 20, 20)];
        image11.layer.cornerRadius = 10;
        image11.layer.masksToBounds = YES;
        image11.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:image11];
    }
    return self;
}

- (void)prepareForReuse
{
    [super prepareForReuse];
}









@end
